﻿
using System.Windows;

namespace UniversalEditor.Base.StatusBarItems
{
	public class StatusTextItem : StatusItemBase
	{
		private string _text;
		private TextAlignment _textAlignment;

		public string Text
		{
			get { return _text; }
			set
			{
				if (_text == value)
					return;

				_text = value;
				RaisePropertyChanged("Text");
			}
		}

		public TextAlignment TextAlignment
		{
			get { return _textAlignment; }
			set
			{
				if (_textAlignment == value)
					return;

				_textAlignment = value;
				RaisePropertyChanged("TextAlignment");
			}
		}
	}
}
